export interface FormFieldBase {
  label: string;
  name: string;
  onChange?: (value: any) => void;
  position?: 'MainViewExtra' | 'FilterView';
  placeholder?: string;
  readonly?: boolean;
  disabled?: boolean;
  light?: boolean; // 轻量模式
  config?: object; // 组件的配置
  rules?: any[]; // 参考antd form rules
  dataSource?:
    | { value: string; label: string; [key: string]: any}[]
    | ((...args: any[]) => Promise<any[]>) // 异步数据源
}
